/*
 * person.h
 *
 *  Created on: May 25, 2014
 *      Author: junior
 */

#ifndef PERSON_H_
#define PERSON_H_
#include <time.h>
typedef struct person;
typedef struct person{
	int mother;		// mother represented by one of the mpi processses
	int father;		// father represented by one of the mpi processses
	int partner;	// partner represented by one of the mpi processses
	int id;			// instead of names, the mpi id's are used
	time_t dob;
	double height, weight;

} person_t;

void init_person(person_t *, double, double, int , person_t *, person_t *);
void set_partner(person_t *, int);
void set_single(person_t *);
#endif /* PERSON_H_ */
